package com.tkjt.pms.modules.gm.service;

import java.util.List;
import java.util.Map;

import com.tkjt.pms.modules.gm.vo.CommentsVo;
import com.tkjt.pms.modules.gm.vo.TkGmScoresVo;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.system.vo.LoginUser;

import com.tkjt.pms.common.vos.TkIndexValueForScoreVO;

public interface TkGmBizService {
	
	public Map<String,Object> gmGradedRadio(LoginUser loginUser,String yearMonth,String dataType);

    public Result<?>  gmDatagrid(TkIndexValueForScoreVO tkIndexValue, Integer pageNo, Integer pageSize, LoginUser loginUser,String dataType);

    public Map<String, Object>  cgDatagrid(LoginUser loginUser,TkIndexValueForScoreVO tkIndexValue, Integer pageNo, Integer pageSize,String dataType);

    public Map<String, Object>  doubleDatagrid(TkIndexValueForScoreVO tkIndexValue, Integer pageNo, Integer pageSize,String dataType);

    public Result<?>  scoreDatagrid(TkIndexValueForScoreVO tkIndexValue, Integer pageNo, Integer pageSize,String dataType);

    public Result<?> scoreGmDatagrid(TkIndexValueForScoreVO tkIndexValue,String dataType);

    public Result<?>  saveScores(String currentUser, String indexYearMonth, List<TkIndexValueForScoreVO> tkIndexValueVOs,String dataType);

    public void caculateGrade(String currentUser,List<TkIndexValueForScoreVO> tkIndexValues,String dataType);

    public Result<?> getCommentsReport(LoginUser loginUser, CommentsVo commentsVo, String dataType);
}
